import {config, request} from 'utils'

const {api} = config
const {dashboard, chart} = api

export async function queryActivities (params) {
  return request({
    url: dashboard + '/activities',
    method: 'get',
    data: params,
  })
}
